<?php

namespace App\HttpController;

use EasySwoole\Core\Http\AbstractInterface\Controller;

class Hello extends Controller
{
    function index()
    {
        //$this->response()->write('Hello easySwoole111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111!');
        $this->response()->redirect("/APP/View/index.html");
    }

    function add()
    {
        $this->response()->write('i am add function!');
    }

}